package com.tanhua.api.db;

import com.tanhua.domain.db.User;

import javax.swing.*;

public interface UserApi {
    //保存用户
    Long saveUser(User user);


    //根据手机号查询
    User findByPhone (String phone);
}

